package com.cjlgb.design.upms;

import com.cjlgb.design.common.security.annotation.EnableSecurityResourceServer;
import com.cjlgb.design.upms.api.channel.AccountOutputChannel;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;

/**
 * @author WFT
 * @date 2019/5/30
 * description: 用户权限系统启动类
 */
@SpringCloudApplication
@EnableSecurityResourceServer
@EnableBinding(value = AccountOutputChannel.class)
@MapperScan(value = "com.cjlgb.design.upms.mapper")
public class UpmsApplication {

    public static void main(String[] args) {
        SpringApplication.run(UpmsApplication.class,args);
    }

}
